import store from "../store";
export const myMapMutations = (options) => {
  let obj = {};
  for (let attr in options) {
    obj[attr] = () => {
      store.commit(options[attr]);
    };
  }
  return obj;
};

// ...myMapMutations({
//   handlePlus: "count/increment",
//   handleMinus: "count/decrement",
// }),
